package com.open.system.dao;

import com.open.system.domain.LoanUserDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 用户信息
 * @author xxxx
 * @email xxxx
 * @date xxxx-08-29 14:26:57
 */
@Mapper
public interface LoanUserDao {

	LoanUserDO get(Long id);
	
	List<LoanUserDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(LoanUserDO loanUser);
	
	int update(LoanUserDO loanUser);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
	
	public Long totalUser(Map<String, String> map);
	public Long bankUser(Map<String, String> map);
	public Long applyLoanUser(Map<String, String> map);
	public Long totayRegUser(Map<String, String> map);
	public Long todayBankUser(Map<String, String> map);
	public Long todayApplyLoanUser(Map<String, String> map);
	public Long totayLoanUser(Map<String, String> map);
	public Long applyAmt(Map<String, String> map);
	public Long loanAmt(Map<String, String> map);
	public Long alreadyRepayAmt(Map<String, String> map);
	public Long waitRepayAmt(Map<String, String> map);
	public Long juxinliMig(Map<String, String> map);
	public Long juxinliMif(Map<String, String> map);
	public Long productCount(Map<String, String> map);
	public Long shopCount(Map<String, String> map);
}
